package com.aiit.mapper;

import com.aiit.pojo.Department;
import com.aiit.pojo.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: LuTao
 * @Date: 2022/04/29/21:43
 */
@Mapper
public interface DepartmentMapper extends BaseMapper<Department> {
    //添加部门
    int department(Department department);
    //查询部门信息
    List<Department> getAllByDepartments();
}
